package cn.btks.resultintegration.rule.repository;

import cn.btks.resultintegration.rule.pojo.ProhibitProject;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/2/23 10:19
 */
@Repository
public interface ProhibitProjectRepository extends JpaRepository<ProhibitProject,Long> {

    /**
     * 根据产业调整目录大类ID查询禁止类
     * @param categoryId
     * @return
     */
    List<ProhibitProject> findAllByCategoryId(Long categoryId);
}
